<?php 
 $curl = curl_init('https://www.lagou.com/zhaopin/PHP/?labelWords=label'); 
curl_setopt($curl, CURLOPT_FAILONERROR, true); 
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); 
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); 
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); 
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);   
$result = curl_exec($curl); 

$preg = '#<li class="con_list_item default_list" .*>.*<h3>(.*)</h3>.*<span class="add">(.*)</span>.*<span class="money">(.*)</span>.*<!--<i></i>-->(.*)</div>.*<div class="industry">(.*)</div>.*</li>#isU';

preg_match_all($preg,$result,$arr);










// $db = new Dbclass();
// $res = $db -> AddCj();
// if($res){
//  alert('Ok!!!');
// }else{
//     alert('ERROR!!!');
// }
?>
